package cn.labbook.bluetooth.mapper;

import cn.labbook.bluetooth.entity.ServicePay;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lonzy
 * @since 2019-03-26
 */
public interface ServicePayMapper extends BaseMapper<ServicePay> {
    Map<String,Double> servicePayStatistics(@Param("yearTime")String yearTime);

    Map<String,Double> servicePayEachStatisticsByZk(@Param("time")String time);

    Map<String,Double> servicePayEachStatisticsByAdmin(@Param("time")String time,@Param("adminId")String adminId);

    Map<String,Double> servicePayStatisticsByAdmin(@Param("yearTime")String yearTime,@Param("adminId")String adminId);
}
